﻿<UserControl
    x:Class="HDK.Demo.Pages.Views.ParallaxView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:HDK.Demo.Pages.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:hdkui="using:HDK.UI.Controls"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">
    
    <ScrollViewer HorizontalScrollBarVisibility="Visible" x:Name="sv">
    <Grid x:Name="LayoutRoot" PointerMoved="LayoutRoot_PointerMoved" ManipulationDelta="LayoutRoot_ManipulationDelta">
        <hdkui:ParallaxPanel x:Name="parallaxPanel" CameraX="0" CameraY="40" CameraZ="20" FocalLength="100" UseLayoutRounding="False" Width="2400">
            <Button Content="1" Width="100" Height="100" />
            <Button Content="2" Width="100" Height="100" />
            <Button Content="3" Width="100" Height="100" />
            <Button Content="4" Width="100" Height="100" />
            <Button Content="5" Width="100" Height="100" />
            <Button Content="6" Width="100" Height="100" />
            <Button Content="7" Width="100" Height="100" />
            <Button Content="8" Width="100" Height="100" />
        </hdkui:ParallaxPanel>
    </Grid>
    </ScrollViewer>
</UserControl>
